package com.yaorange.jk.service;

import com.yaorange.jk.entity.Export;
import com.yaorange.jk.utils.Pagination;

import java.util.List;

/**
 * @author coach tam
 * @date 2017/11/1
 */
public interface ExportService {
    /**
     * 分页查询部门
     * @param pageNo
     * @param pageSize
     * @return
     */
    Pagination findPage(int pageNo, int pageSize);

    List<Export> findAll();

    void save(Export export);

    /**
     * 根据主键获取部门
     * @param id
     * @return
     */
    Export findById(String id);

    void update(Export model,
                String[] mr_id, String[] mr_changed,
                Integer[] mr_orderNo, Integer[] mr_cnumber,
                Double[] mr_grossWeight, Double[] mr_netWeight,Double[] mr_sizeLength,
                Double[] mr_sizeWidth, Double[] mr_sizeHeight, Double[] mr_exPrice, Double[] mr_tax);

    void deleteByIds(String[] ids);

    void submit(String id);

    void cancel(String id);
}
